<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Flexbox Dice</title>
    <style>
        #app {
            display: flex;
            flex-wrap: wrap;
        }

        .box {
            display: flex;
            width: 100px;
            height: 100px;
            background-color: #E5E5E6FF;
            border-left: #D5D5D6FF 5px solid;
            border-right: #D5D5D6FF 5px solid;
            border-bottom: #BABABBFF 5px solid;
            border-radius: 10px;
            margin: 10px;
        }

        .item {
            display: block;
            width: 28px;
            height: 28px;
            background-color: black;
            border-radius: 50%;
            margin: 2px;
        }

        .box9 {
            flex-wrap: wrap;
        }

        .box1 {
            align-items: center;
            justify-content: center;
        }

        .box2 {
            justify-content: space-between;
        }

        .box2 .item2 {
            align-self: flex-end;
        }

        .box3 {
            justify-content: space-between;
        }

        .box3 .item2 {
            align-self: center;
        }

        .box3 .item3 {
            align-self: flex-end;
        }

        .box4 {
            justify-content: space-between;
        }

        .box4 .column {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .box5 {
            justify-content: space-between;
        }

        .box5 .column {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .box5 .column2 {
            justify-content: center;
        }

        .box6 {
            justify-content: space-between;
        }

        .box6 .column {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
    </style>
</head>
<body>
<div id="app">
    <div class="box box9">
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
        <span class="item"></span>
    </div>

    <div class="box box1">
        <span class="item"></span>
    </div>

    <div class="box box2">
        <span class="item item1"></span>
        <span class="item item2"></span>
    </div>

    <div class="box box3">
        <span class="item item1"></span>
        <span class="item item2"></span>
        <span class="item item3"></span>
    </div>

    <div class="box box4">
        <div class="column">
            <span class="item item1"></span>
            <span class="item item2"></span>
        </div>
        <div class="column">
            <span class="item item3"></span>
            <span class="item item4"></span>
        </div>
    </div>

    <div class="box box5">
        <div class="column">
            <span class="item item1"></span>
            <span class="item item2"></span>
        </div>
        <div class="column column2">
            <span class="item item3"></span>
        </div>
        <div class="column">
            <span class="item item4"></span>
            <span class="item item5"></span>
        </div>
    </div>

    <div class="box box6">
        <div class="column">
            <span class="item item1"></span>
            <span class="item item2"></span>
            <span class="item item3"></span>
        </div>
        <div class="column">
            <span class="item item4"></span>
            <span class="item item5"></span>
            <span class="item item6"></span>
        </div>
    </div>
</div>
</body>
</html>
